diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py
index c8258d4b6..2d283b0bc 100644
--- a/src/_pytest/pytester.py
+++ b/src/_pytest/pytester.py
@@ -589,6 +589,7 @@ class RunResult:
         xpassed: int = 0,
         xfailed: int = 0,
         warnings: int = 0,
+        deselected: int = 0,
     ) -> None:
         """Assert that the specified outcomes appear with the respective
         numbers (0 means it didn't occur) in the text output from a test run."""
@@ -605,8 +606,13 @@ class RunResult:
             xpassed=xpassed,
             xfailed=xfailed,
             warnings=warnings,
+            deselected=deselected,
         )
 
+    def str(self) -> str:
+        """Return the entire original text."""
+        return str(self)
+
 
 class CwdSnapshot:
     def __init__(self) -> None:
